package org.jsrml.core.purchaser.entity;


import java.io.Serializable;

import javax.persistence.Column;
import javax.persistence.Embeddable;

@Embeddable
public class WorkerInfo implements Serializable{


	/**
	 * 姓名
	 */
	@Column(name = "NAME", length = 128)
	private String name;

	/**
	 * 性别
	 */
	@Column(name = "GENDER", length = 8)
	private String gender;
	
	/**
	 * 商户类型
	 * 主机方 和 供应商
	 */
	@Column(name = "TYPE", length = 32)
	private String type;

	/**
	 * 电话
	 */
	@Column(name = "TELEPHONE", length = 32)
	private String telephone;

	/**
	 * 商户对应的账号ID
	 */
	@Column(name = "AUTH_ACCOUNT_ID", length = 64)
	private String authAccountId;
	
	/**
	 * 邮箱
	 */
	@Column(name = "EMAIL", length = 32)
	private String email;
	
	/**
	 * 商户的详细地址
	 */
	@Column(name = "ADDRESS",columnDefinition = M.TEXT_COLUMN)
	private String address;
	
	
	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public String getGender() {
		return gender;
	}

	public void setGender(String gender) {
		this.gender = gender;
	}

	public String getType() {
		return type;
	}

	public void setType(String type) {
		this.type = type;
	}

	public String getAuthAccountId() {
		return authAccountId;
	}

	public void setAuthAccountId(String authAccountId) {
		this.authAccountId = authAccountId;
	}

	public String getTelephone() {
		return telephone;
	}

	public void setTelephone(String telephone) {
		this.telephone = telephone;
	}
	
	
}
